﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ServerLibrary.Abstract
{
    /// <summary>
    /// Contains http response.
    /// </summary>
    public interface IHttpResponse
    {
        /// <summary>
        /// Gets or sets file like an array of bytes
        /// </summary>
        byte[] File { get; set; }
        
        /// <summary>
        /// Gets or sets content type
        /// </summary>
        string ContentType { get; set; }
        
        /// <summary>
        /// Gets or sets error code
        /// </summary>
        int ErrorCode { get; set; }
    }
}
